/*
 * @Descripttion: GOGOGO
 * @version: 1.0.0
 * @Author: XJM
 * @Date: 2022-08-15 20:16:22
 * @LastEditors: XJM
 * @LastEditTime: 2022-08-15 21:00:28
 */
export default {
    state: {
        userInfo: (localStorage.getItem('loginData') && JSON.parse(localStorage.getItem('loginData'))) || {}

    },
    mutations: {
        setUserInfo(state, userinfo) {
            state.userInfo = userinfo
        }
    }
}